import { createApp } from "vue";
// 默认样式
import "@/assets/style.less";
//element
import "element-plus/dist/index.css";
// 导入 element-ui
// import ElementPlus from "element-plus";
// import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "./router";
import { createPinia } from "pinia";
import { regAllDirective } from "./directives";
const pinia = createPinia();

const app = createApp(App);
regAllDirective(app);
app.use(router);
app.use(pinia);
// app.use(ElementPlus);

app.mount("#app");
